package com.tianji.util;

public class RedisKeyUtil {
    private RedisKeyUtil(){}

    private static final String CHAT_MEMORY_KEY_PREFIX = "chat:memory:";

    public static String getKey(String sessionID,String UserID){
        String conversationId = UserID + ":" + sessionID;
        return CHAT_MEMORY_KEY_PREFIX + conversationId;
    }


}
